package com.qingshu.common.entity.custom;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Huzz
 * @since 2021-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Star对象", description="")
public class Star implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID", example = "123")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "类别: 1音乐, 2MV", example = "123")
    private Integer starCategory;

    @ApiModelProperty(value = "收藏日期")
    private Date createdTime;

    @ApiModelProperty(value = "收藏用户id", example = "123")
    private Integer userId;

    @ApiModelProperty(value = "收藏名称")
    private String starName;


}
